package com.auto.uhoo.ui.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.auto.uhoo.R;
import com.auto.uhoo.tools.Jumper;
import com.auto.uhoo.ui.base.BaseActivity;
import com.auto.uhoo.ui.fragments.MainFragment;

public class SplashActivity extends BaseActivity implements View.OnClickListener {

    private Button btnGo;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        initViews();

    }

    private void initViews(){
        btnGo = (Button)findViewById(R.id.btn_go);
        btnGo.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        Jumper.getInstance().jumpTo(this, Jumper.ACTION_STANDARD, MainFragment.class.getName(), null);
    }
}
